package com.un.ebs.invoice.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (InvoiceNoteItemAllExt)表实体类
 *
 * @author makejava
 * @since 2021-04-25 09:47:37
 */
@Data
@Component
@TableName("v_invoice_note_item_all_ext")
@SuppressWarnings("serial")
public class InvoiceNoteItemAllExt extends Model<InvoiceNoteItemAllExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "class_name",  length = 40 , precision = 0)
    private String className;
                
    @DbField(name = "customer_ent_id",  length = 40 , precision = 0)
    private String customerEntId;
                
    @DbField(name = "customer_ent_name",  length = 255 , precision = 0)
    private String customerEntName;
                
    @DbField(name = "account_year",  length = -1 , precision = 0)
    private Integer accountYear;
                
    @DbField(name = "account_month",  length = -1 , precision = 0)
    private Integer accountMonth;
                
    @DbField(name = "account_date",  length = -1 , precision = 0)
    private Date accountDate;
                
    @DbField(name = "note_id",  length = 40 , precision = 0)
    private String noteId;
                
    @DbField(name = "inventory_note_code",  length = 100 , precision = 0)
    private String inventoryNoteCode;
                
    @DbField(name = "contract_code",  length = 100 , precision = 0)
    private String contractCode;
                
    @DbField(name = "sku_code",  length = 100 , precision = 0)
    private String skuCode;
                
    @DbField(name = "sku_name",  length = 100 , precision = 0)
    private String skuName;
                
    @DbField(name = "invoice_qty",  length = 38 , precision = 4)
    private Double invoiceQty;

    @DbField(name = "sale_money", length = 38, precision = 6)
    private Double saleMoney;

    @DbField(name = "sale_money_not_tax", length = 38, precision = 6)
    private Double saleMoneyNotTax;

    @DbField(name = "tax_rate", length = 10, precision = 2)
    private Double taxRate;

    @DbField(name = "invoice_code", length = -1, precision = 0)
    private Integer invoiceCode;

    @DbField(name = "submit_status", length = -1, precision = 0)
    private Boolean submitStatus;

    @DbField(name = "audit_status", length = -1, precision = 0)
    private Boolean auditStatus;

    @DbField(name = "personnel_name", length = -1, precision = 0)
    private String personnelName;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "cost_money", length = 38, precision = 10)
    private Double costMoney;


}